#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include "databoard.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *m_ui;

    DataBoard *dataBoard;

signals:
    void newFileAdded(const QStringList &filePathes);

private slots:
    void on_action_dataBoard_triggered(bool checked);
    void on_action_quit_triggered();
    void on_action_close_triggered();
    void on_action_open_triggered();

};

#endif // MAINWINDOW_H
